package com.xjy.headfirst.工厂模式;

/**
 * decription:
 *
 * @author 辛纪元
 * @since 2022-06-23
 */

public class HaPizzaIngredientFactory implements PizzaIngredientFactory{
    @Override
    public Dough createDough() {
        return new DoughChildTwo();
    }

    @Override
    public Sauce createSauce() {
        return new SauseChildTwo();
    }
}
